/*****************************************************************************************
Arise Engine		PortalsProcessing.h

					E-mail:		arise_engine@mail.ru

					Based on:	DK Engine Exporter (c) 2003-2006,
								KAIN (igor@donec.net), Agressor (agress0r@mail.ru)
								
								Thanks to Alexander 'Seldom' Pristromov for 
								convex polygon algo

created:			17.04.2007
last changes:		19.04.2007
*****************************************************************************************/
#pragma once

#include "RawPortal.h" 
#include "RawSector.h" 


bool ProcessPortal(	RawPortal*					portal, 
					const std::vector<RawSector*>	&sectors_list, 
					const std::vector<RawPortal*>	&portals_list,
					std::vector<RawPortal*>		&portals_list_compiled	);

bool ProcessPortalsSectors(	const std::vector<RawSector*>	&sectors_list, 
							const std::vector<RawPortal*>	&portals_list,
							std::vector<RawPortal*>		&portals_list_compiled	);


